﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MeterialManager.Aop.ExceptionProcess
{
    [Serializable]
    public class SqlProcessException : Exception
    {
        public int ErrorCode { get; set; }
        public string ErrorMsg { get; set; }

        public SqlProcessException(int errorCode, string errorMsg)
        {
            this.ErrorCode = errorCode;
            this.ErrorMsg = errorMsg;
        }
    }
}
